package com.nn;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

/**
 * @description
 * @Author 白起
 * @Data 2020/12/8 9:56
 */

@SpringBootApplication
@EnableZuulProxy
@EnableEurekaClient
public class AppGateWay {

    public static void main(String[] args) {
        SpringApplication.run(AppGateWay.class, args);
    }


    //zuul配置能够使用config实现实时更新
//    @RefreshScope
//    @ConfigurationProperties("zuul")
//    public ZuulProperties zuulProperties(){
//        return new ZuulProperties();
//    }
}
